package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

 /**预约信息实体
 * @author ljc
 * @version V1.0
 * @date 2025-03-05 20:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel( description = "预约信息")
public class Reservation extends BaseEntity {
     private static final long serialVersionUID = 1L;

    @ApiModelProperty( value = "主键Id")
    private Long Id;
    @ApiModelProperty( value = "预约人姓名")
    private String name;

    @ApiModelProperty( value = "预约人手机号")
    private String mobile;
    //时间格式为 2024-09-19 10：30：00
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty( value = "预约时间")
    private LocalDateTime time;

    @ApiModelProperty( value = "预约类型")
    private Integer type;

    @ApiModelProperty( value = "家人姓名")
    private  String visitor;

    @ApiModelProperty( value = "预约状态")
    private Integer status;
}
